package com.woniuxy.caradmin.service.impl;

import com.woniuxy.caradmin.entity.pojo.Repairshop;
import com.woniuxy.caradmin.mapper.RepairshopMapper;
import com.woniuxy.caradmin.service.RepairshopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
@Service
public class RepairshopServiceImpl implements RepairshopService{
    @Autowired
    private RepairshopMapper repairshopMapper;
//    查询所有的修理厂
    @Override
    public List<Repairshop> selectAllRepairshop() {
        return repairshopMapper.selectAllRepairshop();
    }
}
